package com.zjy.org.mapper;

import com.zjy.basic.domain.vo.ShopStatisticsVo;
import com.zjy.org.domain.Shop;
import com.zjy.basic.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ÕÅ¼Òè¤
 * @since 2022-12-14
 */
public interface ShopMapper extends BaseMapper<Shop> {

    Shop findByName(String name);


    List<ShopStatisticsVo> statistics();

    void updateState(Long id, int state);

    List<Shop> findAllAvailableShops();
}
